package com.spring.boot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HomeController {

    @RequestMapping(value = "/")
    private String home(){
        return "Hello world!";
    }

    @RequestMapping(value = "/index")
    private String index(){ return "test Index page";}
}
